package com.rpi;

import com.rpi.action.IGpioAction;

public class GpioListenerConfig {

	private String gpioPort;
	private IGpioAction gpioAction;
	private boolean actionOnHigh;
	private int timeout;
	
	public GpioListenerConfig() {
	}

	public int getTimeout() {
		return timeout;
	}

	public void setTimeout(int timeout) {
		this.timeout = timeout;
	}

	public boolean isActionOnHigh() {
		return actionOnHigh;
	}

	public void setActionOnHigh(boolean actionOnHigh) {
		this.actionOnHigh = actionOnHigh;
	}

	public String getGpioPort() {
		return gpioPort;
	}

	public void setGpioPort(String gpioPort) {
		this.gpioPort = gpioPort;
	}

	public IGpioAction getGpioAction() {
		return gpioAction;
	}

	public void setGpioAction(IGpioAction gpioAction) {
		this.gpioAction = gpioAction;
	}

	@Override
	public String toString() {
		return "GpioListenerConfig [gpioPort=" + gpioPort + ", gpioAction=" + gpioAction + ", actionOnHigh=" + actionOnHigh
				+ ", timeout=" + timeout + "]";
	}


}
